	.file	1 "octal.c"
	.section .mdebug.abi32
	.previous
	.abicalls
	.text
	.align	2
	.globl	grabar
	.ent	grabar
grabar:
	.frame	$fp,48,$31		# vars= 8, regs= 3/0, args= 16, extra= 8
	.mask	0xd0000000,-8
	.fmask	0x00000000,0
	.set	noreorder
	.cpload	$25
	.set	reorder
	subu	$sp,$sp,48
	.cprestore 16
	sw	$31,40($sp)
	sw	$fp,36($sp)
	sw	$28,32($sp)
	move	$fp,$sp
	move	$2,$4
	sw	$5,52($fp)
	sb	$2,24($fp)
	lb	$2,24($fp)
	sw	$2,28($fp)
	lw	$3,28($fp)
	sltu	$2,$3,8
	beq	$2,$0,$L17
	lw	$2,28($fp)
	sll	$3,$2,2
	la	$2,$L27
	addu	$2,$3,$2
	lw	$2,0($2)
	.cpadd	$2
	j	$2
	.rdata
	.align	2
$L27:
	.gpword	$L19
	.gpword	$L20
	.gpword	$L21
	.gpword	$L22
	.gpword	$L23
	.gpword	$L24
	.gpword	$L25
	.gpword	$L26
	.text
$L19:
	li	$4,48			# 0x30
	lw	$5,52($fp)
	la	$25,fputc
	jal	$31,$25
	b	$L17
$L20:
	li	$4,49			# 0x31
	lw	$5,52($fp)
	la	$25,fputc
	jal	$31,$25
	b	$L17
$L21:
	li	$4,50			# 0x32
	lw	$5,52($fp)
	la	$25,fputc
	jal	$31,$25
	b	$L17
$L22:
	li	$4,51			# 0x33
	lw	$5,52($fp)
	la	$25,fputc
	jal	$31,$25
	b	$L17
$L23:
	li	$4,52			# 0x34
	lw	$5,52($fp)
	la	$25,fputc
	jal	$31,$25
	b	$L17
$L24:
	li	$4,53			# 0x35
	lw	$5,52($fp)
	la	$25,fputc
	jal	$31,$25
	b	$L17
$L25:
	li	$4,54			# 0x36
	lw	$5,52($fp)
	la	$25,fputc
	jal	$31,$25
	b	$L17
$L26:
	li	$4,55			# 0x37
	lw	$5,52($fp)
	la	$25,fputc
	jal	$31,$25
$L17:
	move	$sp,$fp
	lw	$31,40($sp)
	lw	$fp,36($sp)
	addu	$sp,$sp,48
	j	$31
	.end	grabar
	.size	grabar, .-grabar
	.align	2
	.globl	convertir
	.ent	convertir
convertir:
	.frame	$fp,32,$31		# vars= 16, regs= 2/0, args= 0, extra= 8
	.mask	0x50000000,-4
	.fmask	0x00000000,0
	.set	noreorder
	.cpload	$25
	.set	reorder
	subu	$sp,$sp,32
	.cprestore 0
	sw	$fp,28($sp)
	sw	$28,24($sp)
	move	$fp,$sp
	move	$2,$4
	sw	$5,36($fp)
	sb	$2,8($fp)
	lw	$3,36($fp)
	li	$2,2			# 0x2
	bne	$3,$2,$L30
	li	$2,64			# 0x40
	sw	$2,12($fp)
	b	$L31
$L30:
	lw	$3,36($fp)
	li	$2,1			# 0x1
	bne	$3,$2,$L32
	li	$2,8			# 0x8
	sw	$2,12($fp)
	b	$L31
$L32:
	li	$2,1			# 0x1
	sw	$2,12($fp)
$L31:
	lb	$2,8($fp)
	addu	$2,$2,-48
	sw	$2,20($fp)
	lw	$3,20($fp)
	sltu	$2,$3,8
	beq	$2,$0,$L34
	lw	$2,20($fp)
	sll	$3,$2,2
	la	$2,$L43
	addu	$2,$3,$2
	lw	$2,0($2)
	.cpadd	$2
	j	$2
	.rdata
	.align	2
$L43:
	.gpword	$L34
	.gpword	$L36
	.gpword	$L37
	.gpword	$L38
	.gpword	$L39
	.gpword	$L40
	.gpword	$L41
	.gpword	$L42
	.text
$L36:
	lw	$2,12($fp)
	sw	$2,16($fp)
	b	$L29
$L37:
	lw	$2,12($fp)
	sll	$2,$2,1
	sw	$2,16($fp)
	b	$L29
$L38:
	lw	$3,12($fp)
	move	$2,$3
	sll	$2,$2,1
	addu	$2,$2,$3
	sw	$2,16($fp)
	b	$L29
$L39:
	lw	$2,12($fp)
	sll	$2,$2,2
	sw	$2,16($fp)
	b	$L29
$L40:
	lw	$3,12($fp)
	move	$2,$3
	sll	$2,$2,2
	addu	$2,$2,$3
	sw	$2,16($fp)
	b	$L29
$L41:
	lw	$3,12($fp)
	move	$2,$3
	sll	$2,$2,1
	addu	$2,$2,$3
	sll	$2,$2,1
	sw	$2,16($fp)
	b	$L29
$L42:
	lw	$3,12($fp)
	move	$2,$3
	sll	$2,$2,3
	subu	$2,$2,$3
	sw	$2,16($fp)
	b	$L29
$L34:
	sw	$0,16($fp)
$L29:
	lw	$2,16($fp)
	move	$sp,$fp
	lw	$fp,28($sp)
	addu	$sp,$sp,32
	j	$31
	.end	convertir
	.size	convertir, .-convertir
	.rdata
	.align	2
$LC0:
	.ascii	"%lu\n\000"
	.align	2
$LC1:
	.ascii	"\n\000"
	.text
	.align	2
	.globl	codificar
	.ent	codificar
codificar:
	.frame	$fp,56,$31		# vars= 16, regs= 3/0, args= 16, extra= 8
	.mask	0xd0000000,-8
	.fmask	0x00000000,0
	.set	noreorder
	.cpload	$25
	.set	reorder
	subu	$sp,$sp,56
	.cprestore 16
	sw	$31,48($sp)
	sw	$fp,44($sp)
	sw	$28,40($sp)
	move	$fp,$sp
	sw	$4,56($fp)
	sw	$5,60($fp)
	sw	$6,64($fp)
	sw	$7,68($fp)
	sb	$0,24($fp)
	sb	$0,25($fp)
	sw	$0,28($fp)
	sw	$0,32($fp)
	lw	$4,56($fp)
	la	$25,fgetc
	jal	$31,$25
	sb	$2,24($fp)
$L46:
	lw	$2,56($fp)
	lhu	$2,12($2)
	srl	$2,$2,5
	andi	$2,$2,0x1
	beq	$2,$0,$L48
	b	$L45
$L48:
	lb	$2,25($fp)
	bne	$2,$0,$L49
	sw	$0,28($fp)
	li	$2,8			# 0x8
	sb	$2,25($fp)
$L49:
	lw	$2,28($fp)
	bne	$2,$0,$L51
	lb	$2,24($fp)
	sra	$2,$2,6
	sb	$2,36($fp)
	lb	$2,36($fp)
	la	$4,$LC0
	move	$5,$2
	la	$25,printf
	jal	$31,$25
	lb	$2,36($fp)
	move	$4,$2
	lw	$5,60($fp)
	la	$25,grabar
	jal	$31,$25
	lbu	$2,25($fp)
	addu	$2,$2,-2
	sb	$2,25($fp)
	li	$2,1			# 0x1
	sw	$2,28($fp)
$L51:
	lb	$2,25($fp)
	slt	$2,$2,3
	beq	$2,$0,$L53
	b	$L52
$L53:
	lb	$3,24($fp)
	lb	$2,25($fp)
	addu	$2,$2,-3
	sra	$2,$3,$2
	andi	$2,$2,0x7
	sb	$2,36($fp)
	lb	$2,36($fp)
	la	$4,$LC0
	move	$5,$2
	la	$25,printf
	jal	$31,$25
	lb	$2,36($fp)
	move	$4,$2
	lw	$5,60($fp)
	la	$25,grabar
	jal	$31,$25
	lbu	$2,25($fp)
	addu	$2,$2,-3
	sb	$2,25($fp)
	b	$L51
$L52:
	lw	$4,64($fp)
	lw	$5,60($fp)
	la	$25,fputs
	jal	$31,$25
	lw	$3,32($fp)
	lw	$2,68($fp)
	bne	$3,$2,$L54
	lw	$2,68($fp)
	beq	$2,$0,$L54
	la	$4,$LC1
	lw	$5,60($fp)
	la	$25,fputs
	jal	$31,$25
$L54:
	lw	$2,32($fp)
	addu	$2,$2,1
	sw	$2,32($fp)
	lw	$4,56($fp)
	la	$25,fgetc
	jal	$31,$25
	sb	$2,24($fp)
	b	$L46
$L45:
	move	$sp,$fp
	lw	$31,48($sp)
	lw	$fp,44($sp)
	addu	$sp,$sp,56
	j	$31
	.end	codificar
	.size	codificar, .-codificar
	.align	2
	.globl	decodificar
	.ent	decodificar
decodificar:
	.frame	$fp,64,$31		# vars= 24, regs= 3/0, args= 16, extra= 8
	.mask	0xd0000000,-8
	.fmask	0x00000000,0
	.set	noreorder
	.cpload	$25
	.set	reorder
	subu	$sp,$sp,64
	.cprestore 16
	sw	$31,56($sp)
	sw	$fp,52($sp)
	sw	$28,48($sp)
	move	$fp,$sp
	sw	$4,64($fp)
	sw	$5,68($fp)
	sw	$6,72($fp)
	sw	$0,32($fp)
	lw	$4,72($fp)
	la	$25,strlen
	jal	$31,$25
	sw	$2,36($fp)
	lw	$4,64($fp)
	la	$25,fgetc
	jal	$31,$25
	sb	$2,24($fp)
$L56:
	lw	$2,64($fp)
	lhu	$2,12($2)
	srl	$2,$2,5
	andi	$2,$2,0x1
	beq	$2,$0,$L58
	b	$L55
$L58:
	li	$2,2			# 0x2
	sw	$2,28($fp)
$L59:
	lw	$2,28($fp)
	bgez	$2,$L62
	b	$L60
$L62:
	lb	$2,24($fp)
	move	$4,$2
	lw	$5,28($fp)
	la	$25,convertir
	jal	$31,$25
	move	$3,$2
	lw	$2,32($fp)
	addu	$2,$2,$3
	sw	$2,32($fp)
	lw	$4,64($fp)
	la	$25,fgetc
	jal	$31,$25
	sb	$2,24($fp)
	lw	$2,28($fp)
	addu	$2,$2,-1
	sw	$2,28($fp)
	b	$L59
$L60:
	lb	$2,32($fp)
	move	$4,$2
	lw	$5,68($fp)
	la	$25,fputc
	jal	$31,$25
	sw	$0,32($fp)
	lw	$2,36($fp)
	sw	$2,40($fp)
$L63:
	lw	$2,40($fp)
	bgtz	$2,$L66
	b	$L56
$L66:
	lw	$4,64($fp)
	la	$25,fgetc
	jal	$31,$25
	sb	$2,24($fp)
	lw	$2,40($fp)
	addu	$2,$2,-1
	sw	$2,40($fp)
	b	$L63
$L55:
	move	$sp,$fp
	lw	$31,56($sp)
	lw	$fp,52($sp)
	addu	$sp,$sp,64
	j	$31
	.end	decodificar
	.size	decodificar, .-decodificar
	.ident	"GCC: (GNU) 3.3.3 (NetBSD nb3 20040520)"
